package com.example.onlinemusic.mapper;

import com.example.onlinemusic.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User login(User loginUser); // 验证用户名和密码

    User selectByName(String username); // 查询用户名

    int register(User registerUser); // 注册用户
}
